<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>文档</title>
    <link rel="stylesheet" type="text/css" href="../css/api.css"/>
    <link rel="stylesheet" type="text/css" href="../css/style.css"/>
    <style>
    body{ background-color: #ededed;}
    .header{padding-top: 50px;height: 40px; background-color: #ffffff;}
     .xj{float: right; height: 20px;padding-right: 10px}
     .xj img{  height: 35px; }
     .wxtx{height: 58px;width: 58px;  border-radius:8px;}
     .wxtx img{height:58px;width:58px; border-radius:8px;}
     .fl{float: left;}
     .wxh{ padding: 10px;padding-left: 20px; line-height: 30px; background-color: #ffffff; height:80px; position: relative;}
     .wxm{font-size: 20px; font-weight:  900;background-color: #ffffff;}
     .wxzh{color: #7f7f7f}
     .fr{float: right;}
     .ewm{   position: absolute; right:20px; bottom: 19px}
     .ewm img{height: 33px}

     .wxzf{}
       .wxzf img{height: 18px}
       .sc img{height: 22px}
        .xc img{height: 16px}
          .kb img{height: 19px}
              .bq img{height: 21px}
       .list{padding: 15px;height: 20px;background-color: #ffffff;}
       .jt{padding-top: 3px}
       .jt img{ height: 15px}
    </style>
</head>
<body>
  <div class="header">

    <div class="xj"><img src="../image/xj.png"></div>
  </div>

<div class="wxh" onclick="openwin('grxx')" tapmode>
<div class="wxtx fl">
  <img  id="tx" src="../image/tx.png">
</div>
<div class=" fl" style="margin-left:15px"><span class="wxm"><strong id="wxm"></strong></span> <br>
<span class="wxzh" id="wxh"></span>
</div>

<div class="fr ewm"><img src="../image/ewm.png"></div>

</div>
 <img src="../image/wd.png" width="100%">
</body>
<script type="text/javascript" src="../script/api.js"></script>
<script type="text/javascript">
function openwin(name){

  api.openWin({
      name: name,
      url: './'+name+'.html',

  });


}


  apiready = function () {

api.ajax({
url:localStorage.getItem('domain')+"Home/index/my" ,
method: 'get',

},function(ret,err){
 console.log( JSON.stringify(  ret  ) )
$api.attr($api.byId('tx'),'src', localStorage.getItem('domain')+ret.list.shou_account );
$api.html($api.byId('wxm'), ret.list.paytype );
$api.html($api.byId('wxh'), '微信号：'+ret.list.pay_name );

      localStorage.setItem('tx',localStorage.getItem('domain')+ret.list.shou_account);
      localStorage.setItem('wxm',ret.list.paytype);
      localStorage.setItem('wxh',ret.list.pay_name  );
        localStorage.setItem('sex',ret.list.sex );

              localStorage.setItem('ewm0',localStorage.getItem('domain')+ret.list.erweima );
                  localStorage.setItem('ewm1',localStorage.getItem('domain')+ret.list.erweima1 );
                      localStorage.setItem('ewm2',localStorage.getItem('domain')+ret.list.erweima2 );
                  localStorage.setItem('dz',ret.list.dz );
                    localStorage.setItem('wdpyq',ret.list.wdpyq );

                          localStorage.setItem('pyqwz',ret.list.pyqwz );


        localStorage.setItem('fbsj',ret.list.fbsj );
          localStorage.setItem('pyqhf',ret.list.pyqhf );



})

}
</script>

</html>
